xen/common/compat/kexec.c and and the resulting two-pass build
of xen/common/kexec.c is no longer needed.
Signed-off-by: Simon Horman <horms@verge.net.au>
ifeq ($(CONFIG_COMPAT),y)
# extra dependencies
grant_table.o: compat/grant_table.c
-kexec.o: compat/kexec.c
schedule.o: compat/schedule.c
xenoprof.o: compat/xenoprof.c
endif
#include <compat/kexec.h>
#endif
-#ifndef COMPAT
-
static DEFINE_PER_CPU(void *, crash_notes);
static Elf_Note *xen_crash_note;
}
#endif
-#endif /* COMPAT */
-
-#if defined(CONFIG_COMPAT) && !defined(COMPAT)
-#include "compat/kexec.c"
-#endif
-
/*
* Local variables:
* mode: C